package yehang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ImportResource;


@ImportResource(locations = {"classpath:applicationContext.xml"})
@SpringBootApplication
@MapperScan("yehang.mapper")
@ServletComponentScan(basePackages = {
        "yehang.servlet",
        "yehang.filter",
        "yehang.listener"
})
public class Test01Application {

    public static void main(String[] args) {
        SpringApplication.run(Test01Application.class, args);

    }

}
